package team.zero.lemon.module.workflow.entity.Parameter;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by bolin on 2016/10/19.
 */
public class Submit {
    private Participants participants;
    private List<Participants> participantses;
    private List<Integer> ruleIds;
    private int instanceId;
    private int workItemId;
    private int result;
    private int client;
    private String suggestion;

    public Participants getParticipants() {
        return participants;
    }

    public void setParticipants(Participants participants) {
        this.participants = participants;
    }

    public List<Participants> getParticipantses() {
        if(participantses==null){
            participantses=new ArrayList<Participants>();
        }
        return participantses;
    }

    public void setParticipantses(List<Participants> participantses) {
        this.participantses = participantses;
    }

    public List<Integer> getRuleIds() {
        return ruleIds;
    }

    public void setRuleIds(List<Integer> ruleIds) {
        this.ruleIds = ruleIds;
    }

    public int getInstanceId() {
        return instanceId;
    }

    public void setInstanceId(int instanceId) {
        this.instanceId = instanceId;
    }

    public int getWorkItemId() {
        return workItemId;
    }

    public void setWorkItemId(int workItemId) {
        this.workItemId = workItemId;
    }

    public int getResult() {
        return result;
    }

    public void setResult(int result) {
        this.result = result;
    }

    public int getClient() {
        return client;
    }

    public void setClient(int client) {
        this.client = client;
    }

    public String getSuggestion() {
        return suggestion;
    }

    public void setSuggestion(String suggestion) {
        this.suggestion = suggestion;
    }
}
